//自定义全局样式

$card: rgba(16, 16, 16, 0.68); //卡片边框颜色
$background1: #1d458d; //最底层颜色
$background2: rgb(23, 55, 113); // 上层颜色
$menu-font-active: rgb(66, 127, 240);

/*重置*/
body,
h1,
h2,
h3,
dl,
dd,
dt,
p,
ul,
li,
ol {
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  border: none;
  margin: 0;
  outline: none;
  padding: 0;
  background: none;
}
h1,
h2,
h3 {
  font-weight: normal;
}
img {
  border: none;
}
a {
  text-decoration: none;
  outline: none;
}
li {
  list-style-type: none;
}

body {
  background: $background1;
  font-family: "SimSun", 宋体, 华文细黑, STHeiti, MingLiu;
}
body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* position: relative; */
}
#app {
  width: 100%;
  height: 100%;
}

.font-cw {
  color: white;
}

.is-active {
  span {
    color: $menu-font-active;
  }
}

// 卡片边界
.pro-bor {
  border-radius: 6px;
  box-shadow: 2px 2px 5px 2px $card;
}

.home {
  height: 100%;
  width: 100%;
}
.info_box {
  margin-top: 8px;
  border-radius: 5px;
  width: 100%;
  height: 88%;
  background-color: $background2;
  z-index: 99;
  overflow: auto;

  &::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 10px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
  }
  &::-webkit-scrollbar-thumb {
    /*滚动条里面小方块*/
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    // background: #535353;
    background-color: #f0f6ff;
  }
  &::-webkit-scrollbar-track {
    /*滚动条里面轨道*/
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    // background: #ededed;
    background-color: #cfd8dc;
  }

  // 表格内部滑块
  *::-webkit-scrollbar {
    width: 17px;
    height: 10px;
    background-color: transparent;
  } /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
  *::-webkit-scrollbar-track {
    background-color: #f0f6ff;
  } /*定义滚动条轨道 内阴影+圆角*/
  *::-webkit-scrollbar-thumb {
    background-color: #cfd8dc;
    border-radius: 6px;
  } /*定义滑块 内阴影+圆角*/
  .scrollbarHide::-webkit-scrollbar {
    display: none;
  }
  .scrollbarShow::-webkit-scrollbar {
    display: block;
  }
}

.test-a {
  width: 100%;
  height: 100%;
}
.test-height {
  height: 400px;
}
.col-div {
  width: 98%;
  height: 400px;
  margin: 20px 0px;
  border-radius: 6px;
  box-shadow: 2px 2px 5px 2px $card;
}

.item-div {
  width: 48%;
  float: left;
  /* background-color: grey; */
  height: 400px;
  margin: 10px 10px;
  // border: 1px solid snow;
  border-radius: 6px;
  box-shadow: 2px 2px 5px 2px $card;
  color: white;
  &.double {
    width: 98% !important;
  }
}
.down {
  height: 30px;
  width: 100%;
  display: block;
  float: left;
}

.table {
  margin: 0 10px;
  /* 表格标题 */
  .table-header {
    // height: 10px;
    text-align: center;
    .th-font {
      padding: 10px 0px;
      color: white;
      font-size: 20px;
    }
  }
  .el-table {
    margin-left: 0;
  }
  /* 表格颜色 */
  .el-table th,
  .el-table tr {
    background-color: $background2;
  }
  /*  表头样式 */
  .el-table th > .cell {
    font-size: 17px;
    text-align: center;
    color: white;
  }
  .el-table .cell {
    text-align: center;
    font-size: 14px;
    color: white;
  }
}

// Config.vue 样式
.Config {
  overflow: auto;
  .chart {
    .chart-item {
      width: 96%;
      margin: 0 auto;
      .options-title {
        height: 50px;
        line-height: 50px;
        font-size: 20px;
        margin-left: 40px;
        margin-top: 30px;
        color: azure;
      }
      .options {
        // height: 100px;
        margin: 10px 40px;
        .switch-item {
          width: 200px;
          height: 40px;
          span {
            color: white !important;
          }
        }
      }
    }
  }
  .btn {
    width: 80px;
    float: right;
    margin: 20px 20px;
  }
}

.hello {
  font-size: 30px;
  text-align: center;
  width: 100%;
  height: 400px;
  line-height: 400px;
}

// 导航条 gogo
.right_box .icon_box {
  width: 100%;
  height: 9%;
  padding: 20px 0;
  background-color: $background2;
  border-radius: 10px;
  overflow: hidden;
}
.right_box .icon_box ul {
  overflow: visible;
  float: left;
  width: 80%;
}
.right_box .icon_box ul li {
  float: left;
  text-align: center;
  /* width: calc(100% / 12); */
  width: calc(100% / 12);
  margin: 0 calc(100% / 28);
}
.right_box .icon_box ul li a {
  display: block;
}
.right_box .icon_box ul li i,
.right_box .icon_box > a i {
  display: inline-block;
  width: 27%;
  height: 0;
  padding-top: 27%;
  position: relative;
  margin-bottom: 6px;
  transition: all 0.2s;
}
/* icon大小 */
.right_box .icon_box ul li i {
  width: 58%;
  padding-top: 58%;
  cursor: pointer;
}

.right_box .icon_box ul li img,
.right_box .icon_box > a img {
  display: block;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.right_box .icon_box ul li span,
.right_box .icon_box > a span {
  color: #fff;
  font-size: 18px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
}

/* 添加快捷方式 */
.right_box .icon_box > a {
  float: right;
  width: 10%;
  text-align: center;
}
// 导航条 end end

// go go
.mymenu ul {
  /* background-color: rgb(23, 55, 113); */
  border: none;
}

.mymenu {
  color: #fff;
}
.mymenu .el-submenu__title {
  color: #fff;
}
.mymenu .el-menu-item {
  color: #fff;
}

.mymenu .content_box .left_box .menu ul {
  margin-top: 0;
}

.content_box .left_box .head {
  border-bottom: #a4b1c8 solid 1px;
  padding: 2% 5%;
}
.content_box .left_box .head i {
  width: 35%;
  padding-top: 49%;
  height: 0;
  overflow: hidden;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.content_box .left_box .head i img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.content_box .left_box .head dl {
  display: inline-block;
  vertical-align: middle;
  color: #fff;
  font-size: 14px;
  width: 58%;
  margin-left: 7%;
}
.content_box .left_box .head dl dd {
  margin: 12% 0;
}
.content_box .left_box .menu {
  max-height: 77%;
  overflow-y: auto;
}
.content_box .left_box {
  width: 15.6%;
  height: 100%;
  float: left;
  border-radius: 10px;
  overflow: hidden;
}
// end end

// top gogo
.bg_box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-attachment: fixed;
}

.container {
  position: relative;
  z-index: 5;
  height: 100%;
}
.top_box {
  padding: 1% 0.8%;
  overflow: hidden;
}
.top_box .logo {
  padding-left: 4px;
  height: 76px;
  float: left;
}

.top_box .logo .img1 {
  height: 70px;
  width: auto;
  display: inline-block;
  vertical-align: bottom;
}
.top_box .logo .img2 {
  height: 70px;
  width: auto;
  display: inline-block;
  vertical-align: bottom;
}
.top_box .logo span {
  height: 50px;
  width: 300px;
  display: inline-block;
  vertical-align: bottom;
  // background: url(/portal/images/logotxt.png) no-repeat center left;
  margin-left: 5px;
}
.top_box .logo b {
  display: inline-block;
  vertical-align: bottom;
  margin-left: 34px;
}
.top_box .logo b img {
  display: block;
}
.top_box .top_icon {
  float: right;
  margin-top: 14px;
}
.top_box .top_icon a {
  display: inline-block;
  vertical-align: top;
  margin: 0 16px;
  transition: all 0.3s;
  opacity: 1;
}
.top_box .top_icon a img {
  display: block;
}
.top_box .top_icon a:hover {
  margin-top: 2px;
  opacity: 0.6;
}
// top end end
